<#setting number_format="#">
<?xml version="1.0" encoding="GBK"?>
<Root>
	<Scenario>
		<SCGScenarioBasicInfo>
			<std::string name="Id">180</std::string>
			<std::string name="Name">${name!}</std::string>
			<std::string name="Description">456</std::string>
			<SCGDateTime name="CreatTime">2023-04-10 20:40:04</SCGDateTime>
			<SCGDateTime name="LastSaveTime">2023-07-09 14:34:37</SCGDateTime>
			<std::string name="Creator">wxy</std::string>
			<std::string name="ModelDBVersion"></std::string>
			<SCGDateTime name="StartTime">2022-08-05 10:06:51</SCGDateTime>
			<SCGDateTime name="EndTime">2022-08-06 10:06:51</SCGDateTime>
			<std::string name="ArchitectProjectId"></std::string>
			<SCGMWeatherProfile name="Weather">
				<int name="Id">175</int>
				<std::string name="WeatherType">晴天</std::string>
				<double name="AverageTemperature">15</double>
				<double name="Pressure">101325</double>
				<double name="RelativeHumidity">50</double>
				<double name="SeaState">0</double>
				<double name="RainfallRate">0</double>
				<double name="FractionUnderRain">10</double>
				<double name="GroundReflectionCoeff">100</double>
				<int name="ScnId">180</int>
			</SCGMWeatherProfile>
		</SCGScenarioBasicInfo>
		<Sides>
			<SCGMSide name="红方" id="557" color="#d8080f" description="红方">
				<Postures>
					<PS_Neutral />
					<PS_Friendly />
					<PS_Unfriendly />
					<PS_Hostile>
						<蓝方/>
					</PS_Hostile>
					<PS_Unknown />
				</Postures>
				<Organizations />
				<Entities>
					<#if (scene.red)??>
						<#list scene.red as entity >
							<#if (entity.platType)??>
								<#if entity.platType == "ZSJZK">
									<SCGMCommandPost readableName="${entity.platName}"
													 equipmentName="<#if (typeMap[entity.platType])??>${typeMap[entity.platType]}<#else>${entity.platType}</#if>"
													 superiorEntityName=""
													 OwnerOrganizationName="">
										<SCGAttitude name="Attitude">
											<double name="Pitch">0</double>
											<double name="Roll">0</double>
											<double name="Yaw">0</double>
										</SCGAttitude>
										<float name="CreationTime">0</float>
										<std::string name="ID">${entity_index+8000}</std::string>
										<std::string name="Name">${entity.platName}</std::string>
										<SCGPositionGEO name="PositionGEO">
											<double name="Altitude">${entity.height}</double>
											<double name="Latitude">${entity.lat}</double>
											<double name="Longitude">${entity.lng}</double>
										</SCGPositionGEO>
										<std::string name="SideName">红方</std::string>
										<SCGVelocityNSE name="VelocityNSE">
											<double name="VEast">0</double>
											<double name="VNorth">0</double>
											<double name="VSky">0</double>
										</SCGVelocityNSE>
										<Components/>
									</SCGMCommandPost>
								<#elseif entity.platType == "保卫要地">
									<SCGMGroup readableName="${entity.platName}"
											   equipmentName="<#if (typeMap[entity.platType])??>${typeMap[entity.platType]}<#else>${entity.platType}</#if>"
											   superiorEntityName="" OwnerOrganizationName="">
										<SCGAttitude name="Attitude">
											<double name="Pitch">0</double>
											<double name="Roll">0</double>
											<double name="Yaw">0</double>
										</SCGAttitude>
										<float name="CreationTime">0</float>
										<std::string name="ID">${entity_index+8000}</std::string>
										<std::string name="Name">${entity.platName}</std::string>
										<SCGPositionGEO name="PositionGEO">
											<double name="Altitude">${entity.height}</double>
											<double name="Latitude">${entity.lat}</double>
											<double name="Longitude">${entity.lng}</double>
										</SCGPositionGEO>
										<std::string name="SideName">红方</std::string>
										<SCGVelocityNSE name="VelocityNSE">
											<double name="VEast">0</double>
											<double name="VNorth">0</double>
											<double name="VSky">0</double>
										</SCGVelocityNSE>
										<Components/>
									</SCGMGroup>
								<#elseif entity.platType == "目指雷达">
									<SCGMRadarStation readableName="${entity.platName}"
													  equipmentName="<#if (typeMap[entity.platType])??>${typeMap[entity.platType]}<#else>${entity.platType}</#if>"
													  superiorEntityName=""
													  OwnerOrganizationName="">
										<SCGAttitude name="Attitude">
											<double name="Pitch">0</double>
											<double name="Roll">0</double>
											<double name="Yaw">0</double>
										</SCGAttitude>
										<float name="CreationTime">0</float>
										<std::string name="ID">${entity_index+8000}</std::string>
										<std::string name="Name">${entity.platName}</std::string>
										<SCGPositionGEO name="PositionGEO">
											<double name="Altitude">${entity.height}</double>
											<double name="Latitude">${entity.lat}</double>
											<double name="Longitude">${entity.lng}</double>
										</SCGPositionGEO>
										<std::string name="SideName">红方</std::string>
										<SCGVelocityNSE name="VelocityNSE">
											<double name="VEast">0</double>
											<double name="VNorth">0</double>
											<double name="VSky">0</double>
										</SCGVelocityNSE>
										<Components/>
									</SCGMRadarStation>
								<#elseif entity.platType == "警戒雷达">
									<SCGMRadarStation readableName="${entity.platName}"
													  equipmentName="<#if (typeMap[entity.platType])??>${typeMap[entity.platType]}<#else>${entity.platType}</#if>"
													  superiorEntityName=""
													  OwnerOrganizationName="">
										<SCGAttitude name="Attitude">
											<double name="Pitch">0</double>
											<double name="Roll">0</double>
											<double name="Yaw">0</double>
										</SCGAttitude>
										<float name="CreationTime">0</float>
										<std::string name="ID">${entity_index+8000}</std::string>
										<std::string name="Name">${entity.platName}</std::string>
										<SCGPositionGEO name="PositionGEO">
											<double name="Altitude">${entity.height}</double>
											<double name="Latitude">${entity.lat}</double>
											<double name="Longitude">${entity.lng}</double>
										</SCGPositionGEO>
										<std::string name="SideName">红方</std::string>
										<SCGVelocityNSE name="VelocityNSE">
											<double name="VEast">0</double>
											<double name="VNorth">0</double>
											<double name="VSky">0</double>
										</SCGVelocityNSE>
										<Components/>
										<RuleComponent/>
									</SCGMRadarStation>
								<#elseif entity.platType == "JJ雷达">
									<SCGMRadarStation readableName="${entity.platName}"
													  equipmentName="<#if (typeMap[entity.platType])??>${typeMap[entity.platType]}<#else>${entity.platType}</#if>"
													  superiorEntityName=""
													  OwnerOrganizationName="">
										<SCGAttitude name="Attitude">
											<double name="Pitch">0</double>
											<double name="Roll">0</double>
											<double name="Yaw">0</double>
										</SCGAttitude>
										<float name="CreationTime">0</float>
										<std::string name="ID">${entity_index+8000}</std::string>
										<std::string name="Name">${entity.platName}</std::string>
										<SCGPositionGEO name="PositionGEO">
											<double name="Altitude">${entity.height}</double>
											<double name="Latitude">${entity.lat}</double>
											<double name="Longitude">${entity.lng}</double>
										</SCGPositionGEO>
										<std::string name="SideName">红方</std::string>
										<SCGVelocityNSE name="VelocityNSE">
											<double name="VEast">0</double>
											<double name="VNorth">0</double>
											<double name="VSky">0</double>
										</SCGVelocityNSE>
										<Components/>
										<RuleComponent/>
									</SCGMRadarStation>
								<#elseif entity.platType == "FKDDZD">
									<SCGMFireUnit readableName="${entity.platName}"
												  equipmentName="<#if (typeMap[entity.platType])??>${typeMap[entity.platType]}<#else>${entity.platType}</#if>"
												  superiorEntityName="" OwnerOrganizationName="">
										<SCGAttitude name="Attitude">
											<double name="Pitch">0</double>
											<double name="Roll">0</double>
											<double name="Yaw">0</double>
										</SCGAttitude>
										<float name="CreationTime">0</float>
										<std::string name="ID">${entity_index+8000}</std::string>
										<std::string name="Name">${entity.platName}</std::string>
										<SCGPositionGEO name="PositionGEO">
											<double name="Altitude">${entity.height}</double>
											<double name="Latitude">${entity.lat}</double>
											<double name="Longitude">${entity.lng}</double>
										</SCGPositionGEO>
										<std::string name="SideName">红方</std::string>
										<SCGVelocityNSE name="VelocityNSE">
											<double name="VEast">0</double>
											<double name="VNorth">0</double>
											<double name="VSky">0</double>
										</SCGVelocityNSE>
										<Components/>
									</SCGMFireUnit>
								<#elseif entity.platType == "YJJ">
									<SCGMFixedWingAircraft readableName="${entity.platName}"
														   equipmentName="<#if (typeMap[entity.platType])??>${typeMap[entity.platType]}<#else>${entity.platType}</#if>"
														   superiorEntityName=""
														   OwnerOrganizationName="">
										<SCGAttitude name="Attitude">
											<double name="Pitch">0</double>
											<double name="Roll">0</double>
											<double name="Yaw">0</double>
										</SCGAttitude>
										<float name="CreationTime">0</float>
										<std::string name="ID">${entity_index+8000}</std::string>
										<std::string name="Name">${entity.platName}</std::string>
										<SCGPositionGEO name="PositionGEO">
											<double name="Altitude">${entity.height}</double>
											<double name="Latitude">${entity.lat}</double>
											<double name="Longitude">${entity.lng}</double>
										</SCGPositionGEO>
										<std::string name="SideName">红方</std::string>
										<SCGVelocityNSE name="VelocityNSE">
											<double name="VEast">0</double>
											<double name="VNorth">0</double>
											<double name="VSky">0</double>
										</SCGVelocityNSE>
										<Components/>
										<RuleComponent/>
									</SCGMFixedWingAircraft>
								</#if>
							</#if>
						</#list>
					</#if>
				</Entities>
			</SCGMSide>
			<SCGMSide name="蓝方" id="558" color="#0000ff" description="蓝方">
				<Postures>
					<PS_Neutral/>
					<PS_Friendly/>
					<PS_Unfriendly/>
					<PS_Hostile>
						<红方/>
					</PS_Hostile>
					<PS_Unknown/>
				</Postures>
				<Organizations/>
				<Entities>
					<#if (scene.blue)??>
						<#list scene.blue as entity >
							<#if (entity.platType)??>
								<#if entity.platType == "FTJHKMJ">
									<SCGMShip readableName="${entity.platName}"
											  equipmentName="<#if (typeMap[entity.platType])??>${typeMap[entity.platType]}<#else>${entity.platType}</#if>"
											  superiorEntityName="" OwnerOrganizationName="">
										<SCGAttitude name="Attitude">
											<double name="Pitch">0</double>
											<double name="Roll">0</double>
											<double name="Yaw">0</double>
										</SCGAttitude>
										<float name="CreationTime">0</float>
										<std::string name="ID">${entity_index+9000}</std::string>
										<std::string name="Name">${entity.platName}</std::string>
										<SCGPositionGEO name="PositionGEO">
											<double name="Altitude">${entity.height}</double>
											<double name="Latitude">${entity.lat}</double>
											<double name="Longitude">${entity.lng}</double>
										</SCGPositionGEO>
										<std::string name="SideName">蓝方</std::string>
										<SCGVelocityNSE name="VelocityNSE">
											<double name="VEast">0</double>
											<double name="VNorth">0</double>
											<double name="VSky">0</double>
										</SCGVelocityNSE>
										<Components/>
										<RuleComponent/>
									</SCGMShip>
								<#elseif entity.platType == "蓝方飞机">
									<SCGMAircraft readableName="${entity.platName}"
												  equipmentName="<#if (typeMap[entity.platType])??>${typeMap[entity.platType]}<#else>${entity.platType}</#if>"
												  superiorEntityName="" OwnerOrganizationName="">
										<SCGAttitude name="Attitude">
											<double name="Pitch">0</double>
											<double name="Roll">0</double>
											<double name="Yaw">0</double>
										</SCGAttitude>
										<float name="CreationTime">0</float>
										<std::string name="ID">${entity_index+9000}</std::string>
										<std::string name="Name">${entity.platName}</std::string>
										<SCGPositionGEO name="PositionGEO">
											<double name="Altitude">${entity.height}</double>
											<double name="Latitude">${entity.lat}</double>
											<double name="Longitude">${entity.lng}</double>
										</SCGPositionGEO>
										<std::string name="SideName">蓝方</std::string>
										<SCGVelocityNSE name="VelocityNSE">
											<double name="VEast">0</double>
											<double name="VNorth">0</double>
											<double name="VSky">0</double>
										</SCGVelocityNSE>
										<Components/>
										<RuleComponent/>
									</SCGMAircraft>
								<#elseif entity.platType == "APQ">
									<SCGMRotaryWingAircraft readableName="${entity.platName}"
															equipmentName="<#if (typeMap[entity.platType])??>${typeMap[entity.platType]}<#else>${entity.platType}</#if>"
															superiorEntityName=""
															OwnerOrganizationName="">
										<SCGAttitude name="Attitude">
											<double name="Pitch">0</double>
											<double name="Roll">0</double>
											<double name="Yaw">0</double>
										</SCGAttitude>
										<float name="CreationTime">0</float>
										<std::string name="ID">${entity_index+9000}</std::string>
										<std::string name="Name">${entity.platName}</std::string>
										<SCGPositionGEO name="PositionGEO">
											<double name="Altitude">${entity.height}</double>
											<double name="Latitude">${entity.lat}</double>
											<double name="Longitude">${entity.lng}</double>
										</SCGPositionGEO>
										<std::string name="SideName">蓝方</std::string>
										<SCGVelocityNSE name="VelocityNSE">
											<double name="VEast">0</double>
											<double name="VNorth">0</double>
											<double name="VSky">0</double>
										</SCGVelocityNSE>
										<Components/>
										<RuleComponent/>
									</SCGMRotaryWingAircraft>
								<#elseif entity.platType == "B-52H">
									<SCGMAircraftWithCruiseMissile readableName="${entity.platName}"
																   equipmentName="<#if (typeMap[entity.platType])??>${typeMap[entity.platType]}<#else>${entity.platType}</#if>"
																   superiorEntityName="" OwnerOrganizationName="">
										<SCGAttitude name="Attitude">
											<double name="Pitch">10</double>
											<double name="Roll">10</double>
											<double name="Yaw">10</double>
										</SCGAttitude>
										<int16_t name="ControlMode">0</int16_t>
										<float name="CreationTime">0</float>
										<std::string name="ID">${entity_index+9000}</std::string>
										<std::string name="Name">${entity.platName}</std::string>
										<SCGPositionGEO name="PositionGEO">
											<double name="Altitude">${entity.height}</double>
											<double name="Latitude">${entity.lat}</double>
											<double name="Longitude">${entity.lng}</double>
										</SCGPositionGEO>
										<std::string name="SideName">蓝方</std::string>
										<SCGVelocityNSE name="VelocityNSE">
											<double name="VEast">0</double>
											<double name="VNorth">0</double>
											<double name="VSky">0</double>
										</SCGVelocityNSE>
										<VectorCruiseMissileCourse/>
										<Components/>
										<RuleComponent/>
									</SCGMAircraftWithCruiseMissile>
								<#elseif entity.platType == "编队指控">
									<SCGMCommandPost readableName="${entity.platName}"
													 equipmentName="<#if (typeMap[entity.platType])??>${typeMap[entity.platType]}<#else>${entity.platType}</#if>"
													 superiorEntityName="" OwnerOrganizationName="">
										<SCGAttitude name="Attitude">
											<double name="Pitch">0</double>
											<double name="Roll">0</double>
											<double name="Yaw">0</double>
										</SCGAttitude>
										<float name="CreationTime">0</float>
										<std::string name="ID">${entity_index+9000}</std::string>
										<std::string name="Name">${entity.platName}</std::string>
										<SCGPositionGEO name="PositionGEO">
											<double name="Altitude">${entity.height}</double>
											<double name="Latitude">${entity.lat}</double>
											<double name="Longitude">${entity.lng}</double>
										</SCGPositionGEO>
										<std::string name="SideName">蓝方</std::string>
										<SCGVelocityNSE name="VelocityNSE">
											<double name="VEast">0</double>
											<double name="VNorth">0</double>
											<double name="VSky">0</double>
										</SCGVelocityNSE>
										<Components/>
									</SCGMCommandPost>
								</#if>
							</#if>
						</#list>
					</#if>
				</Entities>
			</SCGMSide>
		</Sides>
		<SCGMRules>
			<SCGMRuleAction>
				<SCGMEntityMoveToPositionAction>
					<std::string name="ActionName">飞行</std::string>
					<SCGPositionGEO name="TargetPositionGEO">
						<double name="Altitude">7.44374</double>
						<double name="Latitude">30.481000000000002</double>
						<double name="Longitude">120.425</double>
					</SCGPositionGEO>
				</SCGMEntityMoveToPositionAction>
			</SCGMRuleAction>
			<SCGMRuleCondition />
			<SCGMRuleTrigger>
				<SCGMSimTimeTrigger>
					<std::string name="TriggerName">仿真开始</std::string>
					<float name="TriggerTime">0</float>
				</SCGMSimTimeTrigger>
			</SCGMRuleTrigger>
		</SCGMRules>
		<SCGMCommunicationNetworks />
	</Scenario>
</Root>
